{% comment %}
{% extends "adminlte/base.html" %}
{% load static %}
{% get_static_prefix as STATIC_PREFIX %}

{% block base_head_style %}
    <link href="{{ STATIC_PREFIX }}plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css"/>
{% endblock %}

{% block base_body_class %}
login-page
{% endblock %}

{% block base_body_inner %}
    <div class="login-box">
        <div class="login-logo">
            <b>Admin</b>LTE
        </div>
        <!-- /.login-logo -->
        <div class="login-box-body">
            <p class="login-box-msg">登录系统</p>
            <form action="" method="post">
                {% csrf_token %}
                <div class="form-group has-feedback">
                    <input type="text" class="form-control" placeholder="用户名" name="username"/>
                    <span class="glyphicon glyphicon-user form-control-feedback"></span>
                </div>
                <div class="form-group has-feedback">
                    <input type="password" class="form-control" placeholder="密码" name="password"/>
                    <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                </div>
                <div class="row">
                    <div class="col-xs-8">
                        <div class="checkbox icheck">
                            <label>
                                <input type="checkbox"> 下次自动登录
                            </label>
                        </div>
                    </div>
                    <div class="col-xs-4">
                        <a href="#" class="pull-right" style="padding-top:10px;">忘记密码?</a>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <button type="submit" class="btn btn-primary btn-block btn-flat">登 录</button>
                    </div>
                </div>
            </form>
        </div>
        <!-- /.login-box-body -->
    </div>
{% endblock %}

{% block base_foot_script %}
    <!-- iCheck -->
    <script src="{{ STATIC_PREFIX }}plugins/iCheck/icheck.min.js" type="text/javascript"></script>
    <script>
        $(function () {
            $('input').iCheck({
                checkboxClass: 'icheckbox_square-blue',
                radioClass: 'iradio_square-blue',
                increaseArea: '20%' // optional
            });
        });
    </script>
{% endblock %}{% endcomment %}
暂不开放注册功能!